/*
 * Created by LiuYou on 2020/12/17.
 *
 */

#ifndef EFFECTIVE_CPP_2_LIST_HPP
#define EFFECTIVE_CPP_2_LIST_HPP

template<typename Ty>
class List {
public:
    List(Ty* data, int length) : data(data), length(length) {}

private:
    Ty data[10];
    int length = 10;

};


#endif //EFFECTIVE_CPP_2_LIST_HPP
